package cn.jiyun.service.impl;

import cn.jiyun.mapper.DeviationDistanceMapper;
import cn.jiyun.pojo.DeviationDistance;
import cn.jiyun.service.DeviationDistanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeviationDistanceServiceImpl implements DeviationDistanceService {
    @Autowired
    private DeviationDistanceMapper deviationDistanceMapper;

    @Override
    public List<DeviationDistance> findAll() {
        return deviationDistanceMapper.findAll();
    }

    @Override
    public void updateById(DeviationDistance deviationDistance) {
        deviationDistanceMapper.updateById(deviationDistance);
    }
}
